package com.cn.api;



import com.cn.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Primary
@FeignClient(value = "distributor-server",path = "/back/auditing")
public interface AuditingFeignClient {

     @GetMapping("/findEnterprise")
     Result findEnterprise(
             @RequestParam("limit") Integer limit,
             @RequestParam("page") Integer page);
    @GetMapping("/findPersonal")
    Result findPersonal(
            @RequestParam("id") Integer id);
    @GetMapping("/auditSuccessful")
    Result auditSuccessful(
            @RequestParam("id") Integer id);
    @GetMapping("/rejectionReview")
    Result rejectionReview(
            @RequestParam("id") Integer id,
            @RequestParam("text") String text);








}
